<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>科目二分车</title>
    <link href="<%=path%>/CSS/style.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="<%=path%>/JQuery/jquery-1.8.2.js"></script>
    <script type="text/javascript" src="<%=path%>/My97DatePicker/WdatePicker.js"></script>
    <%@ include file="/WEB-INF/JSP/backHome/modalWindows/StudentExamImport2.jsp" %>
    <style type="text/css">
        .scbtn2 {
            height: 20px;
            background: #57a0ff;
            border-radius: 20px;
            width: 50px;
            color: #fff;
            display: none;
        }

        .seachform li label {
            line-height: 35px;
            color: #444444
        }

        .scbtn {
            background: #57a0ff;
            border-radius: 20px;
            width: 110px;
            height: 35px;
        }

        .scbtn2 {
            height: 20px;
            background: #57a0ff;
            border-radius: 20px;
            width: 50px;
            color: #fff;
            display: none;
        }

        .tablelist {
            border: none;
            margin: 10px 20px 50px 20px
        }

        .tablelist th {
            background: none;
            border-bottom: none;
        }

        thead {
            background: #f2f2f2
        }

        /*tbody tr:nth-child(even) {
            background: #f7f8fd
        }*/

        .tablelist th {
            height: 45px;
        }

        .tablelist td {
            border-right: none;
        }

        tbody tr {
            height: 38px
        }

        .check {
            padding-left: 0px
        }

        a {
            cursor: pointer;
        }

        #student td {
            width: 100%;
            padding-left: 30px;
            text-align: center;
        }

        .head th {
            text-align: center;
        }

        #cent td {
            text-align: center;
            padding-left: 5px;
        }

        table tr td {
            font-size: 12px
        }

        table tr th {
            font-size: 14px
        }

        .heads span {
            width: 1573px;
            float: left;
            height: 45px;
            text-align: center;
            line-height: 45px;
            background: #eee;
            font-weight: bold;
            font-size: 14px;
        }

        .wrap {
            width: 190px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .checkName {
            width: 72px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .createName {
            width: 72px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .stust {
            width: 62px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .tablelist tr td {
            text-align: center;
        }

        .tablelist tr {
            border-bottom: #cccccc 1px solid;
        }

        .tablelist tr th {
            text-align: center;
        }

        .solid_ccc {
            border-left: #cccccc 1px solid;
        }
    </style>
</head>
<body style="background: #f5f5f5;padding: 0 10px;">
<div id="location_top">
    <div class="place" style="background: #f5f5f5;margin-top: 10px">
        <ul class="placeul">
            <li><a href="#">练车管理</a></li>
            <li><a href="<%=path%>/DrivingSys/querySharecartworeg/look.action?state=first">科目二分车</a></li>
        </ul>
    </div>

    <div class="rightinfo" style="padding-top: 20px; background: #fff;border-radius:10px;height: 45px;">

        <form action="<%=path%>/DrivingSys/querySharecartworeg/look.action" method="post">
            <ul class="seachform">
                <li><label>单据编号</label><input name="fnumber" type="text" class="scinput" value="${fnumber}"/></li>
                <li><label>参考消息</label><input name="fdescription" type="text" class="scinput" value="${fdescription}"/>
                </li>
                <li><label>学员</label><input name="cfstudentname" type="text" class="scinput" value="${cfstudentname}"/>
                </li>
                <li><label>开始时间</label><input class="scinput1" name="beginTime" type="text"
                                              onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}',dateFmt:'yyyy-MM-dd'})"
                                              id="datemin" class="input-text Wdate" style="width:150px;"
                                              value="${beginTime}"></li>
                <li><label>结束时间</label><input class="scinput1" name="endTime" type="text"
                                              onfocus="WdatePicker({minDate:'#F{$dp.$D(\'datemin\')}',dateFmt:'yyyy-MM-dd'})"
                                              id="datemax" class="input-text Wdate" style="width:150px;"
                                              value="${endTime}"></li>
                <li><label>&nbsp;</label><input name="" type="submit" style="outline: none;" class="scbtn"
                                                value="立即查询"/></li>
            </ul>
        </form>
    </div>
    <%--提示的隐藏标识--%>
    <input type="hidden" id="alertType" value="${alertType}">
</div>
<div id="data_table_new"
     style="margin-bottom: 0px;margin-top: 30px;background: #fff;border-radius:10px;box-shadow: 0 0 10px #f2f2f2;">
    <ul>
        <li style="height: 40px;text-align: left;color: #999999;">
				  <span style="font-size: 12px;">
                      <shiro:hasPermission name="/add_Sharecartworeg">
                          <img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                               src="<%=path%>/images/list/xz.png">
                          &nbsp;<a onclick="gotoSelectCard(this)"  funurl="<%=path%>/DrivingSys/go_add_Sharecartworeg">新增</a>
                      </shiro:hasPermission>
                      <shiro:hasPermission name="/delete_sharecartworeg">
				            <img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                                 src="<%=path%>/images/list/sc.png">
                          &nbsp;<a class="del">删除</a>
                      </shiro:hasPermission>
                      <shiro:hasPermission name="/update_shareCarTwoReg">
                          <img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                               src="<%=path%>/images/list/xg.png" style="padding-left: 20px">
                          <a style="color: #000" class="modify">修改</a>
                      </shiro:hasPermission>
                      <shiro:hasPermission name="/queryShareCarTwoRegXls">
                             <img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                                  src="<%=path%>/images/list/excel.png" style="padding-left: 20px">
                          <a style="color: #000" id="importExcel">导出Excle</a>
                      </shiro:hasPermission>
                      <img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;width: 14px"
                           src="<%=path%>/images/list/process.jpg">
                          &nbsp;<a class="checkProcess">查看流程图</a>
                      <img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                           src="<%=path%>/images/list/excel.png" style="padding-left: 20px">
                          <a style="color: #000" id="importPracticeDrivingData">导入</a>
                      <img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                           src="<%=path%>/images/list/excel.png" style="padding-left: 20px">
                          <a style="color: #000" id="exportPracticeDrivingData">导出</a>
                    <form id="batchUpload" action="<%=path%>/DrivingSys/upload"
                    method="post" class="form-horizontal" enctype="multipart/form-data" style="margin-left: 22px;display: inline-block;">
                        <input type="file" name="file" style="width: 0px; height: 0px;"
                        id="uploadEventFile"> <input type="hidden"
                        id="uploadEventPath" disabled="disabled" placeholder="请选择excel表"
                        style="border: 1px solid #e6e6e6; height: 26px; width: 200px;">
                    </form>
				  </span>
        </li>
    </ul>

    <table class="tablelist" style=" white-space: nowrap;"
           id="table1">
        <thead>
        <tr>
            <th class="sq"><input type="checkbox" class="check1"></th>
            <th>单据编号</th>
            <th>业务日期</th>
            <th>参考消息</th>
            <th>审核人名称</th>
            <th>制单人名称</th>
            <th>单据状态</th>
            <th>教练</th>
            <th>学员</th>
            <th>学员编号</th>
            <th>身份证号码</th>
            <th>是否vip</th>
            <th>学员状态</th>
            <th>性别</th>
            <th>手机</th>
            <th>电话</th>
            <th>申领类型</th>
            <th>本地/异地</th>
            <th>培训类型</th>
            <th>推荐人</th>
            <th>教练手机</th>
            <th>车型</th>
            <th>车牌号</th>
            <th>练车时间</th>
            <th>补/初</th>
            <th>科目一合格时间</th>
            <th>考试次数</th>
            <th>上次不及格时间</th>
            <th>备注</th>
            <th>教练组</th>
            <th>教练组编码</th>
            <th>是否组长</th>
            <th>应收金额</th>
            <th>已收</th>
            <th>优惠</th>
            <th>欠费</th>
            <th>班级</th>
            <th style="text-align: center">操作</th>
        </tr>
        </thead>
        <c:if test="${empty sharecartworegList}">
            <tr style="border-bottom: none ">
                <td></td>
                <td colspan="23" style="text-align: left; font-weight:bold;">抱歉,没有任何相关的记录信息!</td>
            </tr>
        </c:if>
        <c:forEach items="${sharecartworegList}" var="sharecartworegList" varStatus="fustatus">
            <!-- 1.1 如果子类集合长度小等于5 则就按子类的长度合并 ===开始=== -->
            <c:if test="${fn:length(sharecartworegList.sharecartworegentryList) lt 6 }">
                <tr>
                <td rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">
                    <input class="check" type="checkbox" name="check" <c:if
                            test="${sharecartworegList.cfbillstate != 3}"> disabled="disabled" </c:if>
                           value="${sharecartworegList.fid}"/>
                    <input type="hidden" name="tdlength"
                           value="${fn:length(sharecartworegList.sharecartworegentryList) }"/>
                </td>
                <td rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">${sharecartworegList.fnumber}</td>
                <td rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">${sharecartworegList.fbizdate}</td>
                <td rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">${sharecartworegList.fdescription}</td>
                <td rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">${sharecartworegList.checkName}</td>
                <td rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">${sharecartworegList.createName}</td>
                <c:if test="${sharecartworegList.cfbillstate eq 3}">
                    <td class="state" rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">保存</td>
                </c:if>
                <c:if test="${sharecartworegList.cfbillstate eq 4}">
                    <td class="state" rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">提交</td>
                </c:if>
                <c:if test="${sharecartworegList.cfbillstate eq 5}">
                    <td class="state" rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">审核</td>
                </c:if>
                <c:forEach items="${sharecartworegList.sharecartworegentryList}" var="sharecartworegentryList"
                           varStatus="status">
                    <c:if test="${status.first}">
                        <td class="solid_ccc">${sharecartworegentryList.jlname}</td>
                        <td>${sharecartworegentryList.xyname}</td>
                        <td>${sharecartworegentryList.cfstudentno}</td>
                        <td>${sharecartworegentryList.cfidcardno}</td>
                        <c:if test="${sharecartworegentryList.cfstuvip ne 0}">
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" checked="checked" type="checkbox"/>
                            </td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstuvip eq 0}">
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 1}">
                            <td>已报名</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 2}">
                            <td>科目一通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 3}">
                            <td>科目一未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 4}">
                            <td>科目二通过,科目三未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 5}">
                            <td>科目二未通过,科目三未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 6}">
                            <td>科目二练车中,科目三未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 7}">
                            <td>科目三通过,科目二通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 8}">
                            <td>科目三未通过,科目二通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 9}">
                            <td>科目三练车中,科目二通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 10}">
                            <td>已结业</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 11}">
                            <td>已退学</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 12}">
                            <td>模拟考试合格</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 13}">
                            <td>已过期</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 14}">
                            <td>作废</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 15}">
                            <td>科目三练车中,科目二未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 16}">
                            <td>科目三练车中,科目二未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 17}">
                            <td>科目三通过,科目二未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 18}">
                            <td>科目三通过,科目二练车中</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 19}">
                            <td>科目三通过,科目二未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 20}">
                            <td>科目二未通过,科目三未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 21}">
                            <td>科目三未通过，科目二未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 22}">
                            <td>科目二练车中,科目三未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfsex eq 1}">
                            <td>男</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfsex eq 2}">
                            <td>女</td>
                        </c:if>
                        <td>${sharecartworegentryList.cfmobile}</td>
                        <td>${sharecartworegentryList.cfphone}</td>
                        <td>${sharecartworegentryList.cfsqzjcx}</td>
                        <c:if test="${sharecartworegentryList.cfbdyd eq 1}">
                            <td>本地</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfbdyd ne 1}">
                            <td>异地</td>
                        </c:if>
                        <td>${sharecartworegentryList.cfpxlx}</td>
                        <td>${sharecartworegentryList.cftjr}</td>
                        <td>${sharecartworegentryList.cfcoachphone}</td>
                        <td>${sharecartworegentryList.cfcarcx}</td>
                        <td>${sharecartworegentryList.cfcarnumber}</td>
                        <td>${sharecartworegentryList.lctime}</td>
                        <td>${sharecartworegentryList.cffristexam}</td>
                        <td>${sharecartworegentryList.cfkeyhgsj}</td>
                        <td>${sharecartworegentryList.cfkscs}</td>
                        <td>${sharecartworegentryList.cflastkssj}</td>
                        <td>${sharecartworegentryList.cfremark}</td>
                        <td>${sharecartworegentryList.jlzname}</td>
                        <td>${sharecartworegentryList.jlznamebm}</td>
                        <c:if test="${sharecartworegentryList.cfduizhang ne 0}">
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" <%--checked="checked"--%>
                                                               type="checkbox"/>
                            </td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfduizhang eq 0}">
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                        </c:if>
                        <td>${sharecartworegentryList.cfyishou}</td>
                        <td>${sharecartworegentryList.cfysje}</td>
                        <td>${sharecartworegentryList.cfyouhui}</td>
                        <td>${sharecartworegentryList.cfqianfei}</td>
                        <td>${sharecartworegentryList.cfclazz}</td>
                        <td rowspan="${fn:length(sharecartworegList.sharecartworegentryList) }">
                            <shiro:hasPermission name="/update_shareCarTwoReg">
                                <img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                                     src="<%=path%>/images/list/xg.png">
                                <a href="<%=path%>/DrivingSys/go_update_shareCarTwoReg?fid=${sharecartworegList.fid}"
                                   class="tablelink">修改</a>
                            </shiro:hasPermission>
                            <shiro:hasPermission name="/delete_sharecartworeg">
                                &nbsp;&nbsp;&nbsp;<img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                                src="<%=path%>/images/list/sc.png">
                                &nbsp;<a class="delOne" class="tablelink" style="color: #056dae">删除<input type="hidden"
                                value="${sharecartworegList.fid}"></a>
                            </shiro:hasPermission>
                            &nbsp;&nbsp;&nbsp;
                        </td>
                        </tr>
                    </c:if>
                    <!--1.1.1 跳过第一行打印 ==开始== -->
                    <c:if test="${status.index gt 0  }">
                        <tr>
                            <input type="hidden" name="check" <c:if
                                    test="${sharecartworegList.cfbillstate != 3}"> disabled="disabled" </c:if>
                                   value="${sharecartworegList.fid}"/>
                            <td class="solid_ccc">${sharecartworegentryList.jlname}</td>
                            <td>${sharecartworegentryList.xyname}</td>
                            <td>${sharecartworegentryList.cfstudentno}</td>
                            <td>${sharecartworegentryList.cfidcardno}</td>
                            <c:if test="${sharecartworegentryList.cfstuvip ne 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" checked="checked"
                                                                   type="checkbox"/></td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstuvip eq 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 1}">
                                <td>已报名</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 2}">
                                <td>科目一通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 3}">
                                <td>科目一未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 4}">
                                <td>科目二通过,科目三未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 5}">
                                <td>科目二未通过,科目三未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 6}">
                                <td>科目二练车中,科目三未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 7}">
                                <td>科目三通过,科目二通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 8}">
                                <td>科目三未通过,科目二通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 9}">
                                <td>科目三练车中,科目二通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 10}">
                                <td>已结业</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 11}">
                                <td>已退学</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 12}">
                                <td>模拟考试合格</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 13}">
                                <td>已过期</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 14}">
                                <td>作废</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 15}">
                                <td>科目三练车中,科目二未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 16}">
                                <td>科目三练车中,科目二未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 17}">
                                <td>科目三通过,科目二未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 18}">
                                <td>科目三通过,科目二练车中</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 19}">
                                <td>科目三通过,科目二未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 20}">
                                <td>科目二未通过,科目三未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 21}">
                                <td>科目三未通过，科目二未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 22}">
                                <td>科目二练车中,科目三未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfsex eq 1}">
                                <td>男</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfsex eq 2}">
                                <td>女</td>
                            </c:if>
                            <td>${sharecartworegentryList.cfmobile}</td>
                            <td>${sharecartworegentryList.cfphone}</td>
                            <td>${sharecartworegentryList.cfsqzjcx}</td>
                            <c:if test="${sharecartworegentryList.cfbdyd eq 1}">
                                <td>本地</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfbdyd ne 1}">
                                <td>异地</td>
                            </c:if>
                            <td>${sharecartworegentryList.cfpxlx}</td>
                            <td>${sharecartworegentryList.cftjr}</td>
                            <td>${sharecartworegentryList.cfcoachphone}</td>
                            <td>${sharecartworegentryList.cfcarcx}</td>
                            <td>${sharecartworegentryList.cfcarnumber}</td>
                            <td>${sharecartworegentryList.lctime}</td>
                            <td>${sharecartworegentryList.cffristexam}</td>
                            <td>${sharecartworegentryList.cfkeyhgsj}</td>
                            <td>${sharecartworegentryList.cfkscs}</td>
                            <td>${sharecartworegentryList.cflastkssj}</td>
                            <td>${sharecartworegentryList.cfremark}</td>
                            <td>${sharecartworegentryList.jlzname}</td>
                            <td>${sharecartworegentryList.jlznamebm}</td>
                            <c:if test="${sharecartworegentryList.cfduizhang ne 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" <%--checked="checked"--%>
                                                                   type="checkbox"/></td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfduizhang eq 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                            </c:if>
                            <td>${sharecartworegentryList.cfyishou}</td>
                            <td>${sharecartworegentryList.cfysje}</td>
                            <td>${sharecartworegentryList.cfyouhui}</td>
                            <td>${sharecartworegentryList.cfqianfei}</td>
                            <td>${sharecartworegentryList.cfclazz}</td>
                        </tr>
                    </c:if>
                    <!--1.1.1 跳过第一行打印 ==结束== -->
                </c:forEach>
            </c:if>
            <!-- 1.1 如果子类集合长度小等于5 则就按子类的长度合并 ===结束=== -->

            <!-- ------------------------------------------------------------------------------------------------------------- -->

            <!--2.1 如果子类集合长度大于5 ===开始=== -->
            <c:if test="${fn:length(sharecartworegList.sharecartworegentryList) gt 5 }">
                <tr id="hebingfuhang${fustatus.index }" >
                <td rowspan="6">
                    <input class="check" type="checkbox" name="check" <c:if
                            test="${sharecartworegList.cfbillstate != 3}"> disabled="disabled" </c:if>
                           value="${sharecartworegList.fid}"/>
                    <input type="hidden" class="fuhang${fustatus.index }" name="tdlength"
                           value="${fn:length(sharecartworegList.sharecartworegentryList) }"/>
                </td>
                <td rowspan="6">${sharecartworegList.fnumber}</td>
                <td rowspan="6">${sharecartworegList.fbizdate}</td>
                <td rowspan="6">${sharecartworegList.fdescription}</td>
                <td rowspan="6">${sharecartworegList.checkName}</td>
                <td rowspan="6">${sharecartworegList.createName}</td>
                <c:if test="${sharecartworegList.cfbillstate eq 3}">
                    <td class="state" rowspan="6">保存</td>
                </c:if>
                <c:if test="${sharecartworegList.cfbillstate eq 4}">
                    <td class="state" rowspan="6">提交</td>
                </c:if>
                <c:if test="${sharecartworegList.cfbillstate eq 5}">
                    <td class="state" rowspan="6">审核</td>
                </c:if>
                <c:forEach items="${sharecartworegList.sharecartworegentryList}" var="sharecartworegentryList"
                           varStatus="status">
                    <c:if test="${status.first}">
                        <td class="solid_ccc">${sharecartworegentryList.jlname}</td>
                        <td>${sharecartworegentryList.xyname}</td>
                        <td>${sharecartworegentryList.cfstudentno}</td>
                        <td>${sharecartworegentryList.cfidcardno}</td>
                        <c:if test="${sharecartworegentryList.cfstuvip ne 0}">
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" checked="checked" type="checkbox"/>
                            </td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstuvip eq 0}">
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 1}">
                            <td>已报名</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 2}">
                            <td>科目一通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 3}">
                            <td>科目一未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 4}">
                            <td>科目二通过,科目三未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 5}">
                            <td>科目二未通过,科目三未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 6}">
                            <td>科目二练车中,科目三未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 7}">
                            <td>科目三通过,科目二通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 8}">
                            <td>科目三未通过,科目二通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 9}">
                            <td>科目三练车中,科目二通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 10}">
                            <td>已结业</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 11}">
                            <td>已退学</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 12}">
                            <td>模拟考试合格</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 13}">
                            <td>已过期</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 14}">
                            <td>作废</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 15}">
                            <td>科目三练车中,科目二未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 16}">
                            <td>科目三练车中,科目二未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 17}">
                            <td>科目三通过,科目二未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 18}">
                            <td>科目三通过,科目二练车中</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 19}">
                            <td>科目三通过,科目二未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 20}">
                            <td>科目二未通过,科目三未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 21}">
                            <td>科目三未通过，科目二未开始</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfstubillstate eq 22}">
                            <td>科目二练车中,科目三未通过</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfsex eq 1}">
                            <td>男</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfsex eq 2}">
                            <td>女</td>
                        </c:if>
                        <td>${sharecartworegentryList.cfmobile}</td>
                        <td>${sharecartworegentryList.cfphone}</td>
                        <td>${sharecartworegentryList.cfsqzjcx}</td>
                        <c:if test="${sharecartworegentryList.cfbdyd eq 1}">
                            <td>本地</td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfbdyd ne 1}">
                            <td>异地</td>
                        </c:if>
                        <td>${sharecartworegentryList.cfpxlx}</td>
                        <td>${sharecartworegentryList.cftjr}</td>
                        <td>${sharecartworegentryList.cfcoachphone}</td>
                        <td>${sharecartworegentryList.cfcarcx}</td>
                        <td>${sharecartworegentryList.cfcarnumber}</td>
                        <td>${sharecartworegentryList.lctime}</td>
                        <td>${sharecartworegentryList.cffristexam}</td>
                        <td>${sharecartworegentryList.cfkeyhgsj}</td>
                        <td>${sharecartworegentryList.cfkscs}</td>
                        <td>${sharecartworegentryList.cflastkssj}</td>
                        <td>${sharecartworegentryList.cfremark}</td>
                        <td>${sharecartworegentryList.jlzname}</td>
                        <td>${sharecartworegentryList.jlznamebm}</td>
                        <c:if test="${sharecartworegentryList.cfduizhang ne 0}">
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" <%--checked="checked"--%>
                                                               type="checkbox"/>
                            </td>
                        </c:if>
                        <c:if test="${sharecartworegentryList.cfduizhang eq 0}">
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                        </c:if>
                        <td>${sharecartworegentryList.cfyishou}</td>
                        <td>${sharecartworegentryList.cfysje}</td>
                        <td>${sharecartworegentryList.cfyouhui}</td>
                        <td>${sharecartworegentryList.cfqianfei}</td>
                        <td>${sharecartworegentryList.cfclazz}</td>
                        <td rowspan="6">
                            <shiro:hasPermission name="/update_shareCarTwoReg">
                                <img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                                     src="<%=path%>/images/list/xg.png">
                                <a href="<%=path%>/DrivingSys/go_update_shareCarTwoReg?fid=${sharecartworegList.fid}"
                                   class="tablelink">修改</a>
                            </shiro:hasPermission>
                            <shiro:hasPermission name="/delete_sharecartworeg">
                                &nbsp;&nbsp;&nbsp;<img alt="" style="margin-top: 20px;margin-left: 22px;height: 12px;"
                                src="<%=path%>/images/list/sc.png">
                                &nbsp;<a class="delOne" class="tablelink" style="color: #056dae">删除<input type="hidden"
                                value="${sharecartworegList.fid}"></a>
                            </shiro:hasPermission>

                            &nbsp;&nbsp;&nbsp;
                        </td>
                        </tr>
                    </c:if>
                    <!--2.1.1 跳过第一行打印1至4条的数据 默认显示部分 ==开始== -->
                    <c:if test="${status.index gt 0 and status.index lt 5 }">
                        <tr>
                            <input type="hidden" class="check" name="check" <c:if
                                    test="${sharecartworegList.cfbillstate != 3}"> disabled="disabled" </c:if>
                                   value="${sharecartworegList.fid}"/>
                            <td class="solid_ccc">${sharecartworegentryList.jlname}</td>
                            <td>${sharecartworegentryList.xyname}</td>
                            <td>${sharecartworegentryList.cfstudentno}</td>
                            <td>${sharecartworegentryList.cfidcardno}</td>
                            <c:if test="${sharecartworegentryList.cfstuvip ne 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" checked="checked"
                                                                   type="checkbox"/></td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstuvip eq 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 1}">
                                <td>已报名</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 2}">
                                <td>科目一通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 3}">
                                <td>科目一未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 4}">
                                <td>科目二通过,科目三未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 5}">
                                <td>科目二未通过,科目三未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 6}">
                                <td>科目二练车中,科目三未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 7}">
                                <td>科目三通过,科目二通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 8}">
                                <td>科目三未通过,科目二通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 9}">
                                <td>科目三练车中,科目二通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 10}">
                                <td>已结业</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 11}">
                                <td>已退学</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 12}">
                                <td>模拟考试合格</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 13}">
                                <td>已过期</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 14}">
                                <td>作废</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 15}">
                                <td>科目三练车中,科目二未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 16}">
                                <td>科目三练车中,科目二未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 17}">
                                <td>科目三通过,科目二未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 18}">
                                <td>科目三通过,科目二练车中</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 19}">
                                <td>科目三通过,科目二未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 20}">
                                <td>科目二未通过,科目三未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 21}">
                                <td>科目三未通过，科目二未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 22}">
                                <td>科目二练车中,科目三未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfsex eq 1}">
                                <td>男</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfsex eq 2}">
                                <td>女</td>
                            </c:if>
                            <td>${sharecartworegentryList.cfmobile}</td>
                            <td>${sharecartworegentryList.cfphone}</td>
                            <td>${sharecartworegentryList.cfsqzjcx}</td>
                            <c:if test="${sharecartworegentryList.cfbdyd eq 1}">
                                <td>本地</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfbdyd ne 1}">
                                <td>异地</td>
                            </c:if>
                            <td>${sharecartworegentryList.cfpxlx}</td>
                            <td>${sharecartworegentryList.cftjr}</td>
                            <td>${sharecartworegentryList.cfcoachphone}</td>
                            <td>${sharecartworegentryList.cfcarcx}</td>
                            <td>${sharecartworegentryList.cfcarnumber}</td>
                            <td>${sharecartworegentryList.lctime}</td>
                            <td>${sharecartworegentryList.cffristexam}</td>
                            <td>${sharecartworegentryList.cfkeyhgsj}</td>
                            <td>${sharecartworegentryList.cfkscs}</td>
                            <td>${sharecartworegentryList.cflastkssj}</td>
                            <td>${sharecartworegentryList.cfremark}</td>
                            <td>${sharecartworegentryList.jlzname}</td>
                            <td>${sharecartworegentryList.jlznamebm}</td>
                            <c:if test="${sharecartworegentryList.cfduizhang ne 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" <%--checked="checked"--%>
                                                                   type="checkbox"/></td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfduizhang eq 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                            </c:if>
                            <td>${sharecartworegentryList.cfyishou}</td>
                            <td>${sharecartworegentryList.cfysje}</td>
                            <td>${sharecartworegentryList.cfyouhui}</td>
                            <td>${sharecartworegentryList.cfqianfei}</td>
                            <td>${sharecartworegentryList.cfclazz}</td>
                        </tr>
                    </c:if>
                    <!--2.1.1 跳过第一行打印1至4条的数据 默认显示部分 ==结束== -->

                    <!--2.1.2 打印5至子类长度的数据 隐藏部分 ==开始==-->
                    <c:if test="${status.index gt 4 }">
                        <tr class="fuhang${fustatus.index }" style="display:none">
                            <input type="hidden" name="check" value="${sharecartworegList.fid}"/>
                            <td class="solid_ccc">${sharecartworegentryList.jlname}</td>
                            <td>${sharecartworegentryList.xyname}</td>
                            <td>${sharecartworegentryList.cfstudentno}</td>
                            <td>${sharecartworegentryList.cfidcardno}</td>
                            <c:if test="${sharecartworegentryList.cfstuvip ne 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" checked="checked"
                                                                   type="checkbox"/></td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstuvip eq 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 1}">
                                <td>已报名</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 2}">
                                <td>科目一通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 3}">
                                <td>科目一未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 4}">
                                <td>科目二通过,科目三未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 5}">
                                <td>科目二未通过,科目三未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 6}">
                                <td>科目二练车中,科目三未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 7}">
                                <td>科目三通过,科目二通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 8}">
                                <td>科目三未通过,科目二通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 9}">
                                <td>科目三练车中,科目二通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 10}">
                                <td>已结业</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 11}">
                                <td>已退学</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 12}">
                                <td>模拟考试合格</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 13}">
                                <td>已过期</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 14}">
                                <td>作废</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 15}">
                                <td>科目三练车中,科目二未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 16}">
                                <td>科目三练车中,科目二未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 17}">
                                <td>科目三通过,科目二未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 18}">
                                <td>科目三通过,科目二练车中</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 19}">
                                <td>科目三通过,科目二未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 20}">
                                <td>科目二未通过,科目三未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 21}">
                                <td>科目三未通过，科目二未开始</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfstubillstate eq 22}">
                                <td>科目二练车中,科目三未通过</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfsex eq 1}">
                                <td>男</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfsex eq 2}">
                                <td>女</td>
                            </c:if>
                            <td>${sharecartworegentryList.cfmobile}</td>
                            <td>${sharecartworegentryList.cfphone}</td>
                            <td>${sharecartworegentryList.cfsqzjcx}</td>
                            <c:if test="${sharecartworegentryList.cfbdyd eq 1}">
                                <td>本地</td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfbdyd ne 1}">
                                <td>异地</td>
                            </c:if>
                            <td>${sharecartworegentryList.cfpxlx}</td>
                            <td>${sharecartworegentryList.cftjr}</td>
                            <td>${sharecartworegentryList.cfcoachphone}</td>
                            <td>${sharecartworegentryList.cfcarcx}</td>
                            <td>${sharecartworegentryList.cfcarnumber}</td>
                            <td>${sharecartworegentryList.lctime}</td>
                            <td>${sharecartworegentryList.cffristexam}</td>
                            <td>${sharecartworegentryList.cfkeyhgsj}</td>
                            <td>${sharecartworegentryList.cfkscs}</td>
                            <td>${sharecartworegentryList.cflastkssj}</td>
                            <td>${sharecartworegentryList.cfremark}</td>
                            <td>${sharecartworegentryList.jlzname}</td>
                            <td>${sharecartworegentryList.jlznamebm}</td>
                            <c:if test="${sharecartworegentryList.cfduizhang ne 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" <%--checked="checked"--%>
                                                                   type="checkbox"/></td>
                            </c:if>
                            <c:if test="${sharecartworegentryList.cfduizhang eq 0}">
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;<input disabled="disabled" type="checkbox"/></td>
                            </c:if>
                            <td>${sharecartworegentryList.cfyishou}</td>
                            <td>${sharecartworegentryList.cfysje}</td>
                            <td>${sharecartworegentryList.cfyouhui}</td>
                            <td>${sharecartworegentryList.cfqianfei}</td>
                            <td>${sharecartworegentryList.cfclazz}</td>
                        </tr>
                    </c:if>
                    <!--2.1.2 打印5至子类长度的数据 隐藏部分 ==结束== -->

                    <c:if test="${status.last }">
                        <tr id="fuhang${fustatus.index }">
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td style="margin:0 auto;"><a class="showfuhang${fustatus.index }"
                                                          onclick="showdetails($(this));"><font
                                    color="#87CEFA">查看详情</font></a>
                                <a style="display:none" class="hidefuhang${fustatus.index }"
                                   onclick="hidedetails($(this));"><font color="#87CEFA">收起详情</font></a>
                            </td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                    </c:if>
                </c:forEach>
            </c:if>
            <!--2.1 如果子类集合长度大于5 ===结束=== -->
        </c:forEach>
        <%--合计信息总条数--%>
        <tr class="sq">
            <td>合计:</td>
            <td>${messageAmount}</td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
    </table>
</div>
<div id="location_bottom">
    <pg:pager items="${pb.tr}" url="${pb.url}" export="offset,currentPageNumber=pageNumber"
              maxPageItems="${pb.ps}">
        <pg:param name="fnumber" value="${fnumber}"/>
        <pg:param name="fdescription" value="${fdescription}"/>
        <pg:param name="cfstudentname" value="${cfstudentname}"/>
        <pg:param name="beginTime" value="${beginTime}"/>
        <pg:param name="endTime" value="${endTime}"/>
        <pg:index>
            <pg:first>
                <a href="${pageUrl}&&type=${type}">
                    <nobr>
                        [首页]
                    </nobr>
                </a>
            </pg:first>
            <pg:prev><a href="${pageUrl}&&type=${type}">前一页</a></pg:prev>
            <pg:pages>
                <c:choose>
                    <c:when test="${currentPageNumber eq pageNumber}">
                        <font color="red">${pageNumber }</font>
                    </c:when>
                    <c:otherwise>
                        <a href="${pageUrl}&&type=${type}">${pageNumber}</a>
                    </c:otherwise>
                </c:choose>
            </pg:pages>
            <pg:next><a href="${pageUrl}&&type=${type}">下一页</a></pg:next>
            <pg:last><a href="${pageUrl}&&type=${type}">
                <nobr>[尾页]</nobr>
            </a></pg:last>
        </pg:index>
    </pg:pager>
</div>
<div class="tip">
    <div class="tiptop">
        <span>提示信息</span>
    </div>
    <div class="tipinfo">
        <span><img src="<%=path%>/images/ticon.png"/></span>
        <div class="tipright">
            <p>是否确认对信息删除 ？</p>
            <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
    </div>
    <div class="tipbtn">
        <input name="" type="button" class="sure" value="确定"/>&nbsp; <input
            name="" type="button" class="cancel" value="取消"/>
    </div>
</div>
<%--<form id="batchUpload" action="<%=path%>/DrivingSys/upload"
      method="post" class="form-horizontal" enctype="multipart/form-data">
    <input type="file" name="file" style="width: 0px; height: 0px;"
           id="uploadEventFile"> <input type="hidden"
                                        id="uploadEventPath" disabled="disabled" placeholder="请选择excel表"
                                        style="border: 1px solid #e6e6e6; height: 26px; width: 200px;">
</form>--%>
<div id="error_Message" class="easyui-window user_set_windows" title="添加菜单"
     data-options="modal:true,closed:true,iconCls:'icon-save',top:50"
     style="overflow:scroll;width:500px;height:500px;display:none">

</div>
</body>
<script type="text/javascript" src="<%=path%>/JS/tempJs/tool.js"></script>
<script type="text/javascript">

    // $(function () {
    //     $(".tip").css("left",$(".tablelist").width()-1000)
    // })

    //显示
    function showdetails(obj) {
        var row = $(obj).parent().parent().prop("id")
        //隐藏点击查看更多
        $(".show" + row).hide()
        //显示点击收起详情
        $(".hide" + row).show()
        //显示数据详情
        $("." + row).show()
        var hebingshu = $("#hebing" + row + " input:hidden[name=tdlength]").val()
        hebingshu = Number(hebingshu)
        hebingshu += 1
        //alert(hebingshu)
        $("#hebing" + row).find("td").eq(0).attr("Rowspan", hebingshu)
        $("#hebing" + row).find("td").eq(1).attr("Rowspan", hebingshu)
        $("#hebing" + row).find("td").eq(2).attr("Rowspan", hebingshu)
        $("#hebing" + row).find("td").eq(3).attr("Rowspan", hebingshu)
        $("#hebing" + row).find("td").eq(4).attr("Rowspan", hebingshu)
        $("#hebing" + row).find("td").eq(5).attr("Rowspan", hebingshu)
        $("#hebing" + row).find("td").eq(6).attr("Rowspan", hebingshu)
        $("#hebing" + row).find("td:last").attr("Rowspan", hebingshu)
    }


    //隐藏
    function hidedetails(obj) {
        var row = obj.parent().parent().prop("id")
        //显示点击查看更多
        $(".show" + row).show()
        //隐藏点击收起详情
        $(".hide" + row).hide()
        //隐藏大于5条的数据
        $("." + row).hide()
        //合并行改成只显示之前的5条加一条点击查看更多tr
        $("#hebing" + row).find("td").eq(0).attr("Rowspan", 6)
        $("#hebing" + row).find("td").eq(1).attr("Rowspan", 6)
        $("#hebing" + row).find("td").eq(2).attr("Rowspan", 6)
        $("#hebing" + row).find("td").eq(3).attr("Rowspan", 6)
        $("#hebing" + row).find("td").eq(4).attr("Rowspan", 6)
        $("#hebing" + row).find("td").eq(5).attr("Rowspan", 6)
        $("#hebing" + row).find("td").eq(6).attr("Rowspan", 6)
        $("#hebing" + row).find("td:last").attr("Rowspan", 6)

    }

    $(document).ready(function () {
        fixation_List()
        //删除多个
        $('.del').click(function () {
            var sq = $("input[name='check']").is(":checked");
            if (sq == false) {
                alert("请至少选择一条数据删除")
            } else {
                $(".tip").fadeIn(200);
            }
            $(".sure").unbind("click").click(function () {
                var str = new Array();
                var fnumber = new Array();
                var s = '0';
                $("input[name='check']:checked").each(function (i) {
                    var state = $(this).parent().parent().find(".state").text().trim();
                    if (state == "提交" || state == "审核") {
                        s = '9';
                        return false
                    } else {
                        str[i] = $(this).val();
                        fnumber[i] = $(this).parent().next().text();
                    }
                })
                if (s == '1') {
                    alert("提交或审核状态不能被删除")
                    $(".tip").fadeOut(100);
                } else {
                    location = '<%=path%>/DrivingSys/delete_sharecartworeg?deleteId=' + str + '&fnumber=' + fnumber;
                }
            })

            $(".cancel").click(function () {
                $(".tip").fadeOut(100);
            });
        })
        //删除单个
        $('.delOne').click(function () {
            var fid = $(this).find("input:hidden").val();
            var fnumber = $(this).find("input:hidden").next().val();
            var state2 = $(this).parent().parent().find(".state").text().trim();

            if (state2 == "提交" || state2 == "审核") {
                alert("提交或审核状态不能被删除")
                $(".tip").fadeOut(200);
            } else {
                $(".tip").animate(({top: $(window).scrollTop()+250}))
                $('.window-mask').fadeToggle()
                $(".tip").fadeIn(200);
                $(".sure").unbind("click").click(function () {
                    $('.window-mask').fadeOut()
                    location = '<%=path%>/DrivingSys/delete_sharecartworeg?deleteId=' + fid + '&fnumber=' + fnumber;
                })
            }

            $(".cancel").click(function () {
                $(".tip").fadeOut(100);
            });
        })


        //修改
        $(".modify").click(function () {
            var stringFid;
            var fids = document.getElementsByName("check");
            for (var i = 0; i < fids.length; i++) {
                if (fids[i].checked) {
                    stringFid = fids[i].value;
                    location = '<%=path%>/DrivingSys/go_update_shareCarTwoReg?fid=' + stringFid + '';
                    return false
                }
            }
            if (stringFid == null || stringFid.length == 0) {
                alert("请至少选择一条数据修改")
                return false
            }
        })

        //查询详情
        $(".tablelist tr:gt(0)").dblclick(function () {
            var fid2 = $(this).find("input[name=check]").val();
            //避免fid中有+，或者特殊字符
            var fid = encodeURI(fid2).replace(/\+/g, '%2B')
            if (fid != "undefined") {
                gotoSelectCard(this,'/DrivingSys/go_update_shareCarTwoReg?fid='+fid);
                //  location = '<%=path%>/DrivingSys/go_update_shareCarTwoReg?fid=' + fid + '';
            }
        })
        //全选全不选
        $(".check1").click(function () {
            if (this.checked) {
                $("[name=check]").not(':disabled').attr("checked", true);
            }
            else {
                $("[name=check]").attr("checked", false);
            }
        })

        $("#importExcel").click(function () {
            var fnumber = $("input[name='fnumber']").val();
            var fdescription = $("input[name='fdescription']").val();
            var cfstudentname = $("input[name='cfstudentname']").val();
            var beginTime = $("input[name='beginTime']").val();
            var endTime = $("input[name='endTime']").val();

            location = '<%=path%>/DrivingSys/queryShareCarTwoRegXls?fnumber='
                + fnumber + '&fdescription=' + fdescription + '&cfstudentname='
                + cfstudentname + '&beginTime=' + beginTime + '&endTime='
                + endTime;
        })

        var User = function () {
            this.init = function () {
                //上传excel
                $("#importPracticeDrivingData").unbind("click").bind("click", function () {
                    $("#uploadEventFile").click();

                });
                $("#uploadEventFile").bind("change", function () {
                    $("#uploadEventPath").attr("value", $("#uploadEventFile").val());
                    var uploadEventFile = $("#uploadEventFile").val();
                    var uploadEventFile = $("#uploadEventFile").val();
                    var pos = uploadEventFile.lastIndexOf("\\");
                    $.messager.confirm('提示', '是否把' + uploadEventFile.substring(pos + 1) + ' 导入到科目二分车？', function (r) {
                        if (r) {//弹出确认对话框
                            if(uploadEventFile.substring(pos + 1)!="科目二分车导入模板.xls"){
                                alert("选择模板错误！");
                                return false;
                            }
                            if (uploadEventFile.lastIndexOf(".xls") < 0) {//可判断以.xls和.xlsx结尾的excel
                                alert("只能上传Excel文件");
                                return false;
                            } else {
                                var url = '<%=path%>/DrivingSys/importPracticeDrivingData';
                                var formData = new FormData($('form')[1]);
                                //alert(formData)
                                user.sendAjaxRequest(url, 'POST', formData);
                            }
                            var file = document.getElementById('uploadEventFile');
                            file.value = ''; //虽然file的value不能设为有字符的值，但是可以设置为空值
                            return true;    //点击确定时，返回值为true，执行如上操作。
                        } else {
                            var file = document.getElementById('uploadEventFile');
                            file.value = ''; //虽然file的value不能设为有字符的值，但是可以设置为空值
                            return false; //点击取消时，返回值为false，不执行操作。
                        }
                    })
                });

            };
            this.sendAjaxRequest = function (url, type, data) {
                $.ajax({
                    url: url,
                    type: type,
                    data: data,
                    success: function (result) {
                        if(result=="-1"){
                            alert("练车编码错误！")
                            return false;
                        }
                        $('#modal-overlay').css('visibility', 'visible')
                        $('.modal-data11').css('visibility', 'visible')
                        var sumData = "";
                        var data = "";
                        var tablength = 0;
                        sumData = "<font color=\"red\">失败:" + result.failed.length + "条</font>";
                        $(".resultCount").append(sumData);

                        tablength = result.failed.length;
                        //失败多
                        for(var i=0;i<tablength;i++){
                            data+="<tr><td>"+result.failed[i]["name"]+"</td><td>"+result.failed[i]["mes"]+"</td></tr>";
                        }


                        $("#faile_dr_id").append(data);
                    },
                    error: function () {
                        alert("excel上传失败");
                    },
                    cache: false,
                    contentType: false,
                    processData: false
                });
            };
        }
        var user;
        $(function () {
            user = new User();
            user.init();
        })

        $("#exportPracticeDrivingData").click(function () {
            location = '<%=path%>/DrivingSys/exportPracticeDrivingData';
        })

    })

    //查看流程
    $(".checkProcess").live('click', function () {
        var fnumber = "";
        $('.check').each(function (i) {
            if ($(this).is(':checked')) {
                fnumber = $(this).parents().next().html();
            }
        });
        if (fnumber == "") {
            alert("请选择单据")
        } else {
            lookActivitiImg('${activitiBPMN_KEY}', fnumber)
        }

    })
</script>
<%@ include file="/WEB-INF/JSP/ajax.jsp" %>
</html>